#from django.conf.urls.defaults import patterns, include, url
from django.conf.urls.defaults import *
from django.views.generic.simple import direct_to_template
from django.contrib import *
admin.autodiscover()
# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()

urlpatterns = patterns('',
	(r'', include('artSightWorld.apps.base.urls')),
    # Examples:
    # url(r'^$', 'artSightWorld.views.home', name='home'),
    # url(r'^artSightWorld/', include('artSightWorld.foo.urls')),

    # Uncomment the admin/doc line below to enable admin documentation:
    # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    url(r'^admin/', include(admin.site.urls)),
	#(r'^admin/(.*)', admin.site.root),
	#(r'^admin/', include('django.contrib.admin.urls')),
    #(r'^accounts/', include('registration.backends.default.urls')),
	#(r'^accounts/login/$', 'django.contrib.auth.views.login', {'template_name': 'base/connexion.html'}),
	#(r'^$', direct_to_template, 
	#	{ 'template': 'home.html' }, 'index'),
	(r'^accounts/', include('registration.backends.default.urls')),
	(r'^accounts/login/$', 'django.contrib.auth.views.login', {'template_name': 'base/connexion.html'}),
)
